SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53981: An SQL exception occurs when you create documents with attachments in SAS® Marketing Optimization

DetailsHotfixAboutRate It

In SAS Marketing Optimization, an internal server error might occur when you create a document that has an attachment. When that happens, the following messages are generated in the SASMarketingOptimization6.3.log file:

ERROR [tomcat-http--39] ... com.sas.svcs.exceptions.MutatedException: 
(org.springframework.jdbc.UncategorizedSQLException) Error setting null for parameter #2 with
JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull 
configuration property. Cause: java.sql.SQLException: Invalid column type: 1111
   . . .more message lines. . .
Caused by: java.sql.SQLException: Invalid column type: 1111
	at oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:3900)
	at oracle.jdbc.driver.OraclePreparedStatement.setNullCritical(OraclePreparedStatement.java:4406)

This problem only occurs when you use Oracle as a back-end database for the SAS® Web Infrastructure Platform and you create documents with attachments. The problem is related to how Oracle handles the Java Database Connectivity (JDBC) Type setting for null values.

There is no workaround or circumvention for this problem.

Click the Hot Fix tab in this note to access the hot fix for this issue.

Note:: A fix for this problem is planned for the third maintenance release of SAS® 9.4.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Infrastructure PlatformHP-UX IPF9.4_M19.4_M39.4 TS1M19.4 TS1M3
64-bit Enabled Solaris9.4_M19.4_M39.4 TS1M19.4 TS1M3
64-bit Enabled AIX9.4_M19.4_M39.4 TS1M19.4 TS1M3
Microsoft® Windows® for x649.4_M19.4_M39.4 TS1M19.4 TS1M3
Solaris for x649.4_M19.4_M39.4 TS1M19.4 TS1M3
Linux for x649.4_M19.4_M39.4 TS1M19.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.